package com.mingqijia.gassafety.webserver.request.cmp.notify;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 数据上报Data参数
 *
 * @author zhufeng
 * @since 2022/8/1
 */
@ApiModel("数据上报请求Data")
@Data
public class DataReportDataRequest {

    @ApiModelProperty(value = "sno")
    @NotNull(message = "sno不能为空")
    private Integer sno;

    @ApiModelProperty(value = "detectorStatus")
    private Integer detectorStatus;

    @ApiModelProperty(value = "gasType")
    private String gasType;

    @ApiModelProperty(value = "alarmType")
    private Integer alarmType;

    @ApiModelProperty(value = "concentration")
    private Integer concentration;

    @ApiModelProperty(value = "temperature")
    private Integer temperature;

    @ApiModelProperty(value = "humidity")
    private Integer humidity;

    private Date recordAt;

    private Long recordId;

    private String spId;

    //紫荆定制，报警器告警状态标识 0正常1报警9不涉及
    private Integer alarmStatus;
}
